package pacman;
/**
 * Represents a inaccessible case, a "wall".
 */
public class cWall implements iCase {
    /**
     * Creates a new instance of cWall.
     */
    public cWall() {
    }

    /**
     * Returns false, as it's inaccessible for everything.
     * @param caller The caller of the method. Useless but still needed because of iCase...
     * @return False, as the case is inaccessible for everything.
     */
    public boolean isAccessible(Object caller) {
        return false;
    }
    /**
     * Dummy. Does an access on the case by a specified cPacman.
     * @param pacman The pacman who wants to access the wall.
     */
    public void Access(cPacman pacman) {
    }

    /**
     * Returns the name of the image to be loaded for this wall.
     * @return A string containing the name of the image to be loaded for this wall.
     */
    public String getImageName() {
        return "wall";
    }
    
    
}
